package com.youaishujuhui.devops.web.service.channel;

import java.util.List;

import javax.annotation.Resource;

import org.nutz.dao.Dao;
import org.nutz.service.IdEntityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.youaishujuhui.devops.web.dao.channel.ChannelDao;
import com.youaishujuhui.devops.web.domain.channel.Channel;

@Service
public class ChannelService extends IdEntityService<Channel> {

	@Autowired
	private ChannelDao channelDao;

	public List<Channel> queryAll() {
		return channelDao.queryAll();
	}
	
	@Resource(name = "nutDao")
	@Override
	public void setDao(Dao dao) {
		super.setDao(dao);
	}
}
